﻿<%@ page contentType="text/html; charset=utf-8" %>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib uri="http://www.springframework.org/tags" prefix="spring" %>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form" %>
<%@taglib prefix="shiro" uri="http://shiro.apache.org/tags" %>
<c:set var="basePath" value="${pageContext.request.contextPath}"/>
<script>var BASE_PATH = '${basePath}';</script>
<script src="${basePath}/resources/zheng-admin/plugins/jquery.1.12.4.min.js"></script>
<%--<script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.3.1/jquery.min.js"></script>--%>
<script src="${basePath}/resources/zheng-admin/plugins/bootstrap-3.3.0/js/bootstrap.min.js"></script>
<script src="${basePath}/resources/zheng-admin/plugins/bootstrap-table-1.11.0/bootstrap-table.min.js"></script>
<script src="${basePath}/resources/zheng-admin/plugins/bootstrap-table-1.11.0/locale/bootstrap-table-zh-CN.min.js"></script>
<script src="${basePath}/resources/zheng-admin/plugins/waves-0.7.5/waves.min.js"></script>
<script src="${basePath}/resources/zheng-admin/plugins/jquery-confirm/jquery-confirm.min.js"></script>
<script src="${basePath}/resources/zheng-admin/plugins/select2/js/select2.min.js"></script>
<script src="${basePath}/resources/zheng-admin/plugins/zTree_v3/js/jquery.ztree.all.min.js"></script>
<script src="${basePath}/resources/zheng-admin/plugins/webuploader-0.1.5/webuploader.min.js"></script>
<script src="${basePath}/resources/zheng-admin/plugins/layui/layui.all.js"></script>
<script src="${basePath}/resources/zheng-admin/js/common.js"></script>
<script src="${basePath}/resources/zheng-admin/js/api.js"></script>
<script type="text/html" id="page_tag">
    <a href="javascript:;" onclick="Common.openPage(
            {
                title:'{{d.title}}',
                url:'{{d.url}}'
                {{#  if(d.param != null){ }}
                    ,param:'{{d.param}}'
                {{#  } }}
                {{#  if(d.isFull != null){ }}
                    ,isFull:{{d.isFull}}
                {{#  } }}
                {{#  if(d.isMaxMin != null){ }}
                    ,isMaxMin:{{d.isMaxMin}}
                {{#  } }}
                {{#  if(d.width != null){ }}
                    ,width:'{{d.width}}'
                {{#  } }}
                {{#  if(d.length != null){ }}
                    ,length:'{{d.length}}'
                {{#  } }}
            })" data-toggle="tooltip" title="{{d.title}}">
        <i class="glyphicon glyphicon-{{#  if(d.icon != null){ }}{{d.icon}}{{#  } else { }}edit{{#  } }}"></i>
    </a>
</script>
<script type="text/html" id="delete_tag">
    <a class="update" href="javascript:;" onclick="Common.deleteOne('{{d.url}}',{{d.id}}
      {{#  if(d.afterDelete != null){ }}
        ,{{d.afterDelete}}
      {{#  } }}
    )"
       data-toggle="tooltip" title="删除">
        <i class="glyphicon glyphicon-remove"></i>
    </a>
</script>